package 注解;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author zc
 * @version 1.0
 * @date 2021/9/23 16:38
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {

    String hello() default "gege";

    String world();

    int[] array() default {2,4,6,8};

    //EnumTest.TrafficLamp lamp() ;

    //TestAnnotation lannotation() default @TestAnnotation(value = "ddd");

    Class style() default String.class;
}
